package com.ts.online_teaching.course_service.repository;

public interface CourseRepository extends JpaRepository<Course, Long> {
    List<Course> findByCategory(String category);
    List<Course> findByTeacherId(Long teacherId);
}
